let socket = require("socket.io");
let http = require("http");

let server = http.createServer();

let io = socket(server, {
  cors: {
    origin: "*",
  },
});

io.on("connection", (sock) => {
  socket.emit("connectionSuccess", "");
});

server.listen(5000, () => {
  
});
